package com.mew.common.entity.events;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ztq
 * @since 2021-03-31
 */

@Data
@ToString
@TableName("e_online_gift")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OnlineGift {


    @TableId("user_id")
    private Long userId;

    /**
     * 这一次上线时间
     */
    @TableField("online_time")
    private Date onlineTime;

    /**
     * 上一次上线在线时间
     */
    @TableField("online_second")
    private Long onlineSecond;

    /**
     * 领取次数
     */
    @TableField("receive_type")
    private String receiveType;

}
